home *** CD-ROM | disk | FTP | other *** search
/ PC World 2000 February / PCWorld_2000-02_cd.bin / Software / Vyzkuste / xsetup / _SETUP.2 / Group3 / XQ IE Outlook Express 1.xpl < prev    next >
Text File  |  1999-10-16  |  2KB  |  79 lines

  1. "FILE"="Xteq Systems X-Setup Plugin 5.0"
  2. "TYPE"="6"
  3. "COUNT"="3"
  4. "UIPATH"="Internet\Outlook Express"
  5. "NAME"="Advanced Options"
  6. "LANGUAGE"="VBScript"
  7. "VERSION"="1.40"
  8. "TEXT 1"="Display Splash Screen"
  9. "TEXT 2"="Display "Tools" -> "New Hotmail account" inside menu"
  10. "TEXT 3"="Enable colorful message backgrounds"
  11. "DESCRIPTION 1"="Miscellaneous settings for Outlook Express."
  12. "DESCRIPTION 2"="To use option #3: Activate it, then restart Outlook Express, create a new message and press CTRL+SHIFT plus the "Z" key to cycle throught the backgrounds.
  13. "AUTHOR"="Xteq Systems"
  14. "COPYRIGHT"="Copyright ⌐ Xteq Systems - All Rights Reserved"
  15. "COMMENT 1"="For more information, go to http://www.xteq.com or write to TeXHeX@xteq.com."
  16.  
  17.  
  18.  
  19. sPath="HKCU\Software\Microsoft\Outlook Express\"
  20. sNOS="NoSplash"
  21. sHOT="Disable Hotmail"
  22. sPath2="HKCU\Software\Microsoft\Internet Mail and News"
  23. sCOL="ColorCycle"
  24.  
  25. Sub Plugin_Initialize 
  26.  if RegPathExists(sPath) then
  27.  
  28.   i=RegReadValue(sPath & sNOS)
  29.   if i=0 or IsEmpty(i) then
  30.    Call SetUIElement(1,True)
  31.   end if
  32.  
  33.   i=RegReadValue(sPath & sHOT)
  34.   if i=0 or IsEmpty(i) then
  35.    Call SetUIElement(2,True)
  36.   end if
  37.  
  38.   i=RegReadValue(sPath2 & sCOL)
  39.   if i=1 then
  40.    Call SetUIElement(3,True)
  41.   end if
  42.  
  43.  
  44.  else
  45.   Disable
  46.  end if
  47. End Sub
  48.  
  49. Sub Plugin_CheckData(ElementIndex)
  50. End Sub
  51.  
  52. Sub Plugin_Apply(ElementIndex,ElementSubIndex)
  53.  i=GetUIElement(1)
  54.  if i=true then
  55.     Call RegWriteValue(sPath & sNOS,0,2)
  56.  else
  57.     Call RegWriteValue(sPath & sNOS,1,2)
  58.  end if
  59.  
  60.  i=GetUIElement(2)
  61.  if i=true then
  62.     Call RegWriteValue(sPath & sHOT,0,2)
  63.  else
  64.     Call RegWriteValue(sPath & sHOT,1,2)
  65.  end if
  66.  
  67.  i=GetUIElement(3)
  68.  if i=true then
  69.     Call RegWriteValue(sPath2 & sCOL,1,1)
  70.  else
  71.     Call RegWriteValue(sPath2 & sCOL,0,1)
  72.  end if
  73.  
  74.  
  75. End Sub
  76.  
  77. Sub Plugin_Terminate 
  78. End Sub
  79.